<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DefaultDeviceController.chooseAudioDevice - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.device</a>&nbsp;/&nbsp;<a href="index.html">DefaultDeviceController</a>&nbsp;/&nbsp;<a href="./choose-audio-device.html">chooseAudioDevice</a><br/>
<br/>
<h1>chooseAudioDevice</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.device.DefaultDeviceController$chooseAudioDevice(com.amazonaws.services.chime.sdk.meetings.device.MediaDevice)"></a>
<code><span class="keyword">fun </span><span class="identifier">chooseAudioDevice</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.DefaultDeviceController$chooseAudioDevice(com.amazonaws.services.chime.sdk.meetings.device.MediaDevice)/mediaDevice">mediaDevice</span><span class="symbol">:</span>&nbsp;<a href="../-media-device/index.html"><span class="identifier">MediaDevice</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Selects an audio device to use.</p>
<p>Note: <a href="../-device-controller/choose-audio-device.html">chooseAudioDevice</a> is no-op when audio client is not started.</p>
<h3>Parameters</h3>
<p><a name="mediaDevice"></a>
<code>mediaDevice</code> - the audio device selected to use.</p>
</BODY>
</HTML>
